 /*
 *  Author - Hank B <gohsthb@gmail.com>
 *
 *  This program is free software: you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation, either version 3 of the License, or
 *  (at your option) any later version.
 *
 *  This program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 *
 */

// Times are in milliseconds
// When you press a button this is how long the power will stay on for
#define Button1_time 3600000ul	// 1 hour 60*60*1000
#define Button2_time 7200000ul	// 2 hours
#define Button3_time 10800000ul	// 3 hours

// how long before the power turns off to sound an alert
#define Warning_time 300000ul	// 5 minutes

// These define how the alert buzzer will sound
// how long the buzzer makes noise for
#define buzzOn_time 1000;	// 1 second
// This is how long between when the buzzer makes noise
#define buzzOff_time 14000;	// 14 seconds

// Define what the pins do
#define LEDPin 0 // PB0, Pin 5;
#define Buzzer 1 // PB1, Pin 6; PB1 is also a PWM output
#define Relay 2 // PB2, Pin 7;
#define Button1 3 // PB3, Pin 2; 1 Hour
#define Button2 4 // PB4, Pin 3; 2 Hours
#define Button3 0  // PB0, Pin 5; 3 Hours; multiplexed with the LED

//#define BUZZER // comment this line if you are using a piezo speaker
